﻿using Dyao.Book.Entity;

namespace Dyao.Book.Repository.Abstractions
{
    public interface ISpiderLogRepository : IDataRepository<SpiderLogEntity>
    {
        /// <summary>
        /// 批量添加
        /// </summary>
        /// <param name="entities">添加实体</param>
        /// <param name="cancellationToken">取消令牌</param>
        /// <returns></returns>
        Task BulkInsertAsync(IEnumerable<SpiderLogEntity> entities, CancellationToken cancellationToken = default);

    }
}
